Core.Action.Span = function(struct) {
	Core.Action.Span.superclass.constructor.call(this, struct, "span");
};

Env.extend(Core.Action.Span, Core.Action.Dom, {
	
	createNode: function(type) {
		Core.Action.Span.superclass.createNode.call(this, type);
		
		if(this.attrs.text) { this.node.innerHTML = this.attrs.text; }
	}
});

Core.Action.Store.register("Dom.Span", Core.Action.Span);